package com.baobao.dao;

import com.baobao.domain.Bbevent;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Bbevent entities.
 * 
 */
public interface BbeventDAO extends JpaDao<Bbevent> {

	/**
	 * JPQL Query - findBbeventByType
	 *
	 */
	public Set<Bbevent> findBbeventByType(Integer type) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByType
	 *
	 */
	public Set<Bbevent> findBbeventByType(Integer type, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByBbIdContaining
	 *
	 */
	public Set<Bbevent> findBbeventByBbIdContaining(String bbId) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByBbIdContaining
	 *
	 */
	public Set<Bbevent> findBbeventByBbIdContaining(String bbId, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllBbevents
	 *
	 */
	public Set<Bbevent> findAllBbevents() throws DataAccessException;

	/**
	 * JPQL Query - findAllBbevents
	 *
	 */
	public Set<Bbevent> findAllBbevents(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByTimeContaining
	 *
	 */
	public Set<Bbevent> findBbeventByTimeContaining(String time) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByTimeContaining
	 *
	 */
	public Set<Bbevent> findBbeventByTimeContaining(String time, int startResult, int maxRows) throws DataAccessException;
	
	/**
	 * JPQL Query - findBbeventByTimeBetween
	 *
	 */
	public Set<Bbevent> findBbeventByTimeBetween(String bbId,String starttime,String endtime) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmTime
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmTime(String confirmTime) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmTime
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmTime(String confirmTime, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmPhoneContaining
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmPhoneContaining(String confirmPhone) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmPhoneContaining
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmPhoneContaining(String confirmPhone, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmTimeContaining
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmTimeContaining(String confirmTime_1) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmTimeContaining
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmTimeContaining(String confirmTime_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByPrimaryKey
	 *
	 */
	public Bbevent findBbeventByPrimaryKey(String bbId_1, String time_1) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByPrimaryKey
	 *
	 */
	public Bbevent findBbeventByPrimaryKey(String bbId_1, String time_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByTime
	 *
	 */
	public Set<Bbevent> findBbeventByTime(String time_2) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByTime
	 *
	 */
	public Set<Bbevent> findBbeventByTime(String time_2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByBbId
	 *
	 */
	public Set<Bbevent> findBbeventByBbId(String bbId_2) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByBbId
	 *
	 */
	public Set<Bbevent> findBbeventByBbId(String bbId_2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmPhone
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmPhone(String confirmPhone_1) throws DataAccessException;

	/**
	 * JPQL Query - findBbeventByConfirmPhone
	 *
	 */
	public Set<Bbevent> findBbeventByConfirmPhone(String confirmPhone_1, int startResult, int maxRows) throws DataAccessException;

}